
package com.sailing.xjpb.web.base.swagger.annotation;

import com.sailing.xjpb.web.base.swagger.configration.SwaggerConfig;
import org.springframework.context.annotation.Import;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 启用自定义的swagger配置
 *
 * @author YW
 */
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = {java.lang.annotation.ElementType.TYPE})
@Documented
@EnableSwagger2
@Import({SwaggerConfig.class})
public @interface EnableXjpbSwagger {

}
